Skip to content

Commit

Permalink
Merge pull request #28 from JasonMo1/ci
Browse files Browse the repository at this point in the history
CI: Fix wrong expression
  • Loading branch information
Zeal8bit authored Feb 15, 2024
2 parents 3b1d2b8 + 7070aef commit aaafeee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_zeal8bitos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
mv build/os_with_romdisk.img build/$(git describe --tags).img
- name: Update index.json
if: ${{ github.repository_owner == 'Zeal8bit' && github.ref == 'main' }}
if: ${{ github.repository_owner == 'Zeal8bit' && github.ref == 'refs/heads/main' }}
shell: bash
run: |
wget $CONF_SERVER/roms/index.json
Expand All @@ -57,7 +57,7 @@ jobs:
CONF_SERVER: ${{ secrets.ZEAL8BIT_CONF_SITE }}

- name: Setup SSH
if: ${{ github.repository_owner == 'Zeal8bit' && github.ref == 'main' }}
if: ${{ github.repository_owner == 'Zeal8bit' && github.ref == 'refs/heads/main' }}
shell: bash
run: |
mkdir -p ~/.ssh
Expand All @@ -70,7 +70,7 @@ jobs:
RUNNER_SSH_PRIV: ${{ secrets.ZEAL8BIT_SSH_PRIV }}

- name: Publish files
if: ${{ github.repository_owner == 'Zeal8bit' && github.ref == 'main' }}
if: ${{ github.repository_owner == 'Zeal8bit' && github.ref == 'refs/heads/main' }}
shell: bash
run: |
export NAME=$(git describe --tags).img
Expand Down

0 comments on commit aaafeee

Please sign in to comment.