-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37bcc88
commit cfd4fc0
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||