Skip to content

Commit

Permalink
Merge pull request #177 from CovOpen/DanielHabenicht-patch-1
Browse files Browse the repository at this point in the history
fix: Deployment
  • Loading branch information
DanielHabenicht committed Apr 11, 2021
2 parents 5fd2334 + ef06579 commit d55b3d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ jobs:

- name: Deploy 🚀
if: github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: api/v1/dist
clean: true
# Exclude files from covquestions-documentation
clean_exclude: |
clean-exclude: |
index.html
modules.html
classes/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ jobs:

- name: Deploy 🚀
if: github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: covquestions-js/docs
clean: true
# Ignore API Files
clean_exclude: |
clean-exclude: |
questionnaires.json
questionnaires/**
3 changes: 1 addition & 2 deletions api/v1/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# API

This is a static file API.
In order to generate the files for the api run `npm run build`.
This is a static file API. In order to generate the files for the api run `npm run build`.
This will gather everything from `./data` (questionnaires, translations) and generate the files in `dist`.

## Update questionnaires
Expand Down

0 comments on commit d55b3d1

Please sign in to comment.