Skip to content

Commit

Permalink
Update publish.yml - download from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
giper45 authored Aug 1, 2024
1 parent 3a9b0da commit 0cb5821
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,20 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v2
- name: Download build.xml artifact artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v6
with:
workflow: build.yml
# Optional, GitHub token, a Personal Access Token with `public_repo` scope if needed
# Required, if the artifact is from a different repo
# Required, if the repo is private a Personal Access Token with `repo` scope is needed or GitHub token in a job where the permissions `action` scope set to `read`
github_token: ${{secrets.GITHUB_TOKEN}}
name: dist
path: dist.zip



- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
Expand Down

0 comments on commit 0cb5821

Please sign in to comment.