Skip to content

Commit

Permalink
ci: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed Oct 20, 2024
1 parent db2fdc9 commit 84b68fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
curl -Ls -o build-push https://github.com/cafe-desktop/cafe-dev-scripts/raw/master/travis/build/build-push.sh
chmod +x install-dockerbuild build-push
./install-dockerbuild
echo "VERSION_DPL=`wget https://github.com/JamesIves/github-pages-deploy-action/releases/latest && cat latest |grep 'JamesIves/github-pages-deploy-action · GitHub'|cut -d " " -f4`" >> $GITHUB_ENV
# echo "VERSION_DPL=`wget https://github.com/JamesIves/github-pages-deploy-action/releases/latest && cat latest |grep 'JamesIves/github-pages-deploy-action · GitHub'|cut -d " " -f4`" >> $GITHUB_ENV

- name: Build and push
env:
Expand All @@ -76,7 +76,7 @@ jobs:
- name: Deploy
env:
GH_DEPLOY: ${{ secrets.GH_PAGES_DEPLOY }}
uses: JamesIves/github-pages-deploy-action@${{ env.VERSION_DPL }}
uses: JamesIves/github-pages-deploy-action@${{ `wget https://github.com/JamesIves/github-pages-deploy-action/releases/latest && cat latest |grep 'JamesIves/github-pages-deploy-action · GitHub'|cut -d " " -f4` }}
if: ${{ github.event_name == 'push' && env.GH_DEPLOY != 'false' }}
with:
branch: gh-pages
Expand Down

0 comments on commit 84b68fe

Please sign in to comment.