Add swiping on mobile to open the sidebar (#31) #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Production | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags-ignore: | |
| - '**' | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'MinecraftTAS/minecrafttas.com' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true # Fetch Hugo themes (true OR recursive) | |
| fetch-depth: 0 | |
| - name: Setup Hugo | |
| uses: peaceiris/actions-hugo@v3 | |
| with: | |
| hugo-version: 'latest' | |
| extended: true | |
| - name: Build | |
| run: hugo | |
| - name: Deploy with Rsync | |
| uses: burnett01/[email protected] | |
| with: | |
| switches: -avzr --delete --exclude .htaccess --exclude shields/ | |
| path: public/ | |
| remote_path: ${{ secrets.SERVER_DEPLOY_PATH }} | |
| remote_host: ${{ secrets.SERVER_HOST }} | |
| remote_user: ${{ secrets.SERVER_USER_NAME }} | |
| remote_key: ${{ secrets.SERVER_USER_KEY }} |