Skip to content

Commit

Permalink
Merge pull request #5506 from camptocamp/fix-ci2
Browse files Browse the repository at this point in the history
Fix the CI
  • Loading branch information
sbrunner committed Feb 12, 2020
2 parents 4a76ccd + a318992 commit 1c7b193
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ jobs:
- run: ls -al
- run: buildtools/set-version

- run: echo "_auth = ${NPM_AUTH}" > ~/.npmrc
- run: echo "email = stephane.brunner@camptocamp.com" >> ~/.npmrc
- run: echo "//registry.npmjs.org/:_authToken=$(gopass gs/ci/npm/token)" > ~/.npmrc

# Lint
- run: make lint
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/clean-ghpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
ref: gh-pages
- name: Clean ghpages
run: |
git config --global user.name "Continuous integration"
git config --global user.email "ci@comptocamp.org"
git rm -r $(cat ${GITHUB_EVENT_PATH}|jq --raw-output .ref)
git commit --amend
git push origin gh-pages --force
remote_repo="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/camptocamp/ngeo.git"
git push "${remote_repo}" gh-pages --force

0 comments on commit 1c7b193

Please sign in to comment.