Skip to content

Commit

Permalink
Another attempt at fixing the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andrablaj committed Apr 5, 2024
1 parent d7376e2 commit c04cb30
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ jobs:

- run: npm i
- run: PUBLIC_URL=/cht-tech-radar-contributors REACT_APP_RADAR_NAME="CHT Technology Radar for Contributors" npm run build:static
- name: Deploy
env:
EMAIL: medic-ci@github
NAME: medic-ci
run: |
git config --global user.email $EMAIL
git config --global user.name $NAME
git remote set-url origin https://$NAME:${{ secrets.DEPOLY_TO_SITE }}@github.com/medic/cht-tech-radar-contributors.git
npm run deploy
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./build
personal_token: ${{ secrets.DEPOLY_TO_SITE}}
external_repository: medic/medic.github.io
user_name: medic-ci
user_email: medic-ci@github
publish_branch: main

0 comments on commit c04cb30

Please sign in to comment.