Deploying to gh-pages from @ qt4cg/qtspecs@bf9f2349f5990f3ef695538154… #303
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
name: build-dashboard | |
on: | |
push: | |
branches: ['gh-pages'] | |
paths: ['pr-status/**'] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
env: | |
HAVE_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN != '' }} | |
HAVE_SAXON_LICENSE: ${{ secrets.SAXON_LICENSE != '' }} | |
# There’s no particular reason why the TEST_REPOSITORY should be | |
# a secret. This is the only way I can think of to initialize | |
# a variable based on the repository that the action is running in, | |
# rather than the *contents* of that repository. | |
UPDATE_TESTS: ${{ secrets.TEST_REPOSITORY != '' && secrets.ACCESS_TOKEN != '' }} | |
AUTODIFF: ${{ secrets.DIFFURI != '' && secrets.DIFFPW != '' }} | |
PUBLISH_TESTS_FROM: "master" | |
BRANCH_NAME: ${{ github.ref_name }} | |
steps: | |
- name: Checkout the specifications | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
ls -l | |