Skip to content

Commit

Permalink
Publish workflows will delete any removed files from the published site
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemers committed Jan 20, 2024
1 parent 6b290d9 commit ba50061
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

- name: 'Copy build to site repo'
run: |
rsync -a src/target/website/. ./asf-site
rsync -avP --delete --exclude .git src/target/website/. ./asf-site
shell: bash

- name: 'commit site'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: 'Copy to staging'
run: |
rsync -a src/target/website/. ./site-staging
rsync -avP --delete --exclude .git src/target/website/. ./asf-staging
shell: bash

- name: 'commit staging'
Expand Down

0 comments on commit ba50061

Please sign in to comment.