From 61b711a9abbbdc000cdceb4e2f55a95ef3c96e3d Mon Sep 17 00:00:00 2001 From: Seth Falco Date: Tue, 29 Aug 2023 20:54:20 +0200 Subject: [PATCH] fix: gh-pages pipeline --- .github/workflows/translations.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 6ec3a3f..bed549d 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -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