Skip to content

Commit

Permalink
fix: gh-pages pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
SethFalco committed Aug 29, 2023
1 parent 9462dca commit 61b711a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,19 @@ jobs:
npm run tldr-translation-pairs-gen -- --source /tmp/tldr-main --output /tmp/datasets
- name: Package artifacts
run: |
tar czf /tmp/tldr-pages-translation-pairs.tar.gz --directory /tmp datasets
mkdir /tmp/dist
tar czf /tmp/dist/tldr-pages-translation-pairs.tar.gz --directory /tmp datasets
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: tldr-pages-translation-pairs
path: /tmp/tldr-pages-translation-pairs.tar.gz
path: /tmp/dist/tldr-pages-translation-pairs.tar.gz
if-no-files-found: error
retention-days: 60
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: /tmp/tldr-pages-translation-pairs.tar.gz
path: /tmp/dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 61b711a

Please # to comment.