Skip to content

Commit

Permalink
Add ZIP and Archive to action
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben committed Jul 20, 2023
1 parent 1b9e11e commit c81f3c3
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ outputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3
with:
repository: cgs-earth/sitemap-generator
- shell: bash
env:
SOURCE_REPO: ${{ inputs.source_repo }}
Expand All @@ -69,3 +66,15 @@ runs:
run: |
pip3 install git+https://github.com/cgs-earth/sitemap-generator.git
sitemap-generator run ${{ inputs.namespace_dir }}
- name: Zip sitemap
uses: vimtor/action-zip@v1
with:
files: ${{ inputs.sitemap_dir }}
dest: sitemap.zip

- name: Archive Sitemap
uses: actions/upload-artifact@v3
with:
name: sitemap
path: sitemap.zip

0 comments on commit c81f3c3

Please sign in to comment.