Skip to content

Commit

Permalink
Generate downloads page based on new python script.
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangibanelbtactic committed Mar 26, 2024
1 parent e03ba0b commit 3c3075f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/generate-downloads-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,20 @@ jobs:
- name: Simple Date
id: simple-date
run: echo "date=$(date '+%Y-%m-%d %H:%M')" >> $GITHUB_OUTPUT
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Python dependencies
run: python -m pip install --upgrade pip requests
- name: Check out the repo
uses: actions/checkout@v4
with:
ref: publish-downloads-dev
- name: Update downloads page
run: echo "${{ steps.simple-date.outputs.date }}" > ${{ github.workspace }}/docs/downloads.md
run: |
cd ${{ github.workspace }}/docs
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} ./generate-downloads-page.py
- name: Add, commit and push
uses: EndBug/add-and-commit@v9
with:
Expand Down

0 comments on commit 3c3075f

Please sign in to comment.