Skip to content

Commit

Permalink
update contributors when pushed to main
Browse files Browse the repository at this point in the history
  • Loading branch information
AvicennaJr committed Sep 24, 2024
1 parent 8b9b4e4 commit d649994
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,22 @@ jobs:
- name: Install dependencies
uses: bahmutov/npm-install@v1

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install Python dependencies
run: pip install requests

- name: Update contributors
env:
GITHUB_TOKEN: ${{ secrets.NURU_TOKEN }}
run: python .github/scripts/update_contributors.py

- name: Build project
run: npm run docs:build

- name: Archive production files
run: |
zip -r production-files.zip .
Expand Down Expand Up @@ -56,7 +69,7 @@ jobs:
port: ${{ secrets.PORT }}
source: distfiles/*
target: "${{ secrets.TEMP_DIR }}"

- name: Going Live
uses: appleboy/[email protected]
with:
Expand All @@ -69,4 +82,4 @@ jobs:
unzip distfiles/production-files.zip
rm -rf distfiles
rm -rf ${{ secrets.DEPLOY_DIR }}/*
mv * ${{ secrets.DEPLOY_DIR }}
mv * ${{ secrets.DEPLOY_DIR }}

0 comments on commit d649994

Please sign in to comment.