diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e349f99d..1f1b09fa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,3 +32,6 @@ jobs: BRANCH: production # The branch the action should deploy to. FOLDER: out # The folder the action should deploy. CLEAN: true # Automatically remove deleted files from the deploy branch + clean-exclude: | + data/*.json + diff --git a/.github/workflows/generate-data-member.yml b/.github/workflows/generate-data-member.yml index e1bcc811..950687fa 100644 --- a/.github/workflows/generate-data-member.yml +++ b/.github/workflows/generate-data-member.yml @@ -21,7 +21,7 @@ jobs: cd .. rm -rf ./scripts git add ./data/dataMember.json - + # Commit the changes - name: Commit changes run: | @@ -33,6 +33,6 @@ jobs: - name: Push changes uses: ad-m/github-push-action@master with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.TOKEN_SECRET }}