diff options
author | Pierre Ossman <ossman@cendio.se> | 2021-11-09 16:05:17 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2021-11-09 16:05:17 +0100 |
commit | 8c09b99b4e61b138c85ef108b23e208c480ad21e (patch) | |
tree | 69937678f31f2b7f266b114d4a765446355509eb | |
parent | a012f98b61453ac23da3323c7b53f588c1f116f5 (diff) | |
download | novnc-8c09b99b4e61b138c85ef108b23e208c480ad21e.tar.gz |
Fix typo in deploy workflow
-rw-r--r-- | .github/workflows/deploy.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 48cb031..4f17a67 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,7 @@ jobs: GITREV=$(git rev-parse --short HEAD) echo $GITREV sed -i "s/^\(.*\"version\".*\)\"\([^\"]\+\)\"\(.*\)\$/\1\"\2-g$GITREV\"\3/" package.json - if: ${{ github.event_name == 'push' && github.event.ref == 'ref/heads/master' }} + if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }} - uses: actions/setup-node@v1 with: # Needs to be explicitly specified for auth to work @@ -36,7 +36,7 @@ jobs: - run: npm publish --access public --tag dev env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - if: ${{ github.event_name == 'push' && github.event.ref == 'ref/heads/master' }} + if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }} snap: runs-on: ubuntu-latest steps: @@ -45,7 +45,7 @@ jobs: GITREV=$(git rev-parse --short HEAD) echo $GITREV sed -i "s/^\(.*\"version\".*\)\"\([^\"]\+\)\"\(.*\)\$/\1\"\2-g$GITREV\"\3/" package.json - if: ${{ github.event_name == 'push' && github.event.ref == 'ref/heads/master' }} + if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }} - run: | VERSION=$(grep '"version"' package.json | cut -d '"' -f 4) echo $VERSION @@ -73,4 +73,4 @@ jobs: store_login: ${{ secrets.SNAPCRAFT_LOGIN }} snap: ${{ steps.snapcraft.outputs.snap }} release: edge - if: ${{ github.event_name == 'push' && github.event.ref == 'ref/heads/master' }} + if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }} |