Skip to content

Commit

Permalink
Finish file workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwparent committed Dec 12, 2023
1 parent 37bcc88 commit cfd4fc0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/update-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,20 @@ jobs:
fetch_depth: 0
- name: Extract file binary tree + archive
run: |
mkdir -p binary/bootstrap/file
mkdir -p resources/file/file
docker cp $(docker create ${{ env.REGISTRY }}/${{ github.repository_owner }}/windows-resource/${{ env.IMAGE_NAME }}:latest):/opt/file binary/bootstrap/file
cd binary/bootstrap
cd resources/file
tar -cz file > file.tar.gz
cp file.tar.gz ../../file.tar.gz
- name: Checkout pages
run: |
git fetch --all
git checkout -f -B pages --track origin/pages
- name: Push file archives to pages
- name: Config git user
run: |
cd pages
git config --local user.email "[email protected]"
git config --local user.name "Github Actions from commit ${{ github.sha }}"
git add
- name: Upload
run: |
setup-pages.py
git add resources/file/file.tar.gz && git commit -m"Update file binary" && git push -f

0 comments on commit cfd4fc0

Please sign in to comment.