From b9b312763719b4972ce26fed27c8632203e3d08e Mon Sep 17 00:00:00 2001 From: bpcreech <35012922+bpcreech@users.noreply.github.com> Date: Sun, 4 Feb 2024 18:31:29 -0500 Subject: [PATCH] switch asteroids back to releases --- .github/workflows/publish.yaml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index d4ef783..ad1887d 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -35,20 +35,13 @@ jobs: run: | echo "This site is generated from github.com/bpcreech/blog" > ./public/README - # uses: robinraju/release-downloader@v1.9 - # with: - # out-file-path: ./public/asteroids - # repository: bpcreech/typescript-asteroids - # # github-token: ${{ secrets.TOKEN }} - # latest: true - # tarBall: true - # extract: true - - name: Download asteroids - uses: actions/download-artifact@v4 + - name: Grab latest asteroids build + uses: robinraju/release-downloader@v1.9 with: - name: production-files - github-token: ${{ secrets.TOKEN }} # token with actions:read permissions on target repo + out-file-path: ./public/asteroids repository: bpcreech/typescript-asteroids + latest: true + extract: true - name: Deploy uses: peaceiris/actions-gh-pages@v3