Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterNaggschga authored Dec 16, 2023
1 parent 01f6539 commit f5487c6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,25 @@ jobs:
cp documentation.pdf html/
shell: bash

- name: Copy cards to website
- name: Create card archives
run: |
cd resources/cards
zip -r gwent_cards_de de
zip -r gwent_cards_en en
tar -cf gwent_cards_de.tar.gz de
tar -cf gwent_cards_en.tar.gz en
cd && mkdir -p docs/html/cards
shell: bash

- name: Move card archives to website
run: |
mkdir -p docs/html/cards
mv resources/cards/gwent_cards_de.zip docs/html/cards
mv resources/cards/gwent_cards_en.zip docs/html/cards
mv resources/cards/gwent_cards_de.tar.gz docs/html/cards
mv resources/cards/gwent_cards_en.tar.gz docs/html/cards
cp resources/cards/printing-layout.pdf docs/html/cards
shell: bash


- name: Push changes
uses: actions-x/commit@v6
Expand Down

0 comments on commit f5487c6

Please sign in to comment.