Skip to content

Structure app

Structure app #3

name: Deploy DDI resources to GitHub Pages
on:
push:
branches:
- main
paths:
- 'resources/**'
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./resources
publish_branch: gh-pages
destination_dir: resources
keep_files: true