diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9f5a579..201cd19 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: @@ -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