Fix syntax error #3
This file contains 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
# Mirrors the main branch of the ModsBeforeFriday repository to the mbf-nightly repository's deploy branch | |
# | |
# A second repository for nightly builds is necessary because only one github pages domain can be associated | |
# with a particular repository. | |
name: "Compile and deploy" | |
on: | |
push: | |
branches: ['main'] | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
build: | |
name: Mirror to nightly repo | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.MIRROR_GITHUB_ACCESS_TOKEN }} | |
- run: git remote add nightly https://github.com/Lauriethefish/mbf-nightly | |
- run: git push --force nightly main:deploy |