Skip to content

Commit

Permalink
chore: try another deployment method
Browse files Browse the repository at this point in the history
  • Loading branch information
albanm committed Mar 19, 2024
1 parent f702f62 commit 22d1d09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- run: |
export MINOR=$(./node_modules/.bin/semver-extract --minor --branch $GITHUB_REF)
echo "MINOR=$MINOR"
export PUBLIC_URL=https://cdn.jsdelivr.net/gh/data-fair/app-charts@deploy/$MINOR
echo "PUBLIC_URL=$PUBLIC_URL"
export PUBLIC_URL=https://cdn.jsdelivr.net/gh/data-fair/app-charts@deploy/$MINOR/
npm run build
git config --global user.email "[email protected]"
git config --global user.name "github-actions"
./node_modules/.bin/gh-pages-multi deploy -v -r https://${{ secrets.GH_TOKEN }}@github.com/data-fair/app-charts.git -b deploy -s dist --no-history -t $MINOR
echo -e "\n\nNew version of the application available at\n\t$PUBLIC_URL"

0 comments on commit 22d1d09

Please sign in to comment.