Skip to content

Commit

Permalink
Fix of env
Browse files Browse the repository at this point in the history
  • Loading branch information
sithumonline committed Apr 10, 2024
1 parent fbdea75 commit 28fba7c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ jobs:
ref: web
- name: Compile HTML
run: |
export LINUX-DOWNLOAD-HREF=https://github.com/sithumonline/json_x/releases/download/${{ github.ref_name }}/json_x_glfw_opengl3-linux-amd64_${{ env.SHA_SHORT }}
sed -e "s/linux-download-href/$LINUX-DOWNLOAD-HREF/g" index.html.tmp > index.html
export LINUX_DOWNLOAD_HREF=https://github.com/sithumonline/json_x/releases/download/${{ github.ref_name }}/json_x_glfw_opengl3-linux-amd64_${{ env.SHA_SHORT }}
export LINUX_DOWNLOAD=json_x_glfw_opengl3-linux-amd64_${{ env.SHA_SHORT }}
sed -e "s/linux-download-href/$LINUX-DOWNLOAD-HREF/g" -e "s/linux-download/$LINUX_DOWNLOAD/g" index.html.tmp > index.html
cat index.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit 28fba7c

Please sign in to comment.