-
Notifications
You must be signed in to change notification settings - Fork 10
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
c50ac87
commit 44f4b30
Showing
1 changed file
with
11 additions
and
5 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 |
---|---|---|
|
@@ -16,6 +16,13 @@ jobs: | |
path: './editor-packages' | ||
persist-credentials: false | ||
|
||
- name: Checkout Packages Release 🚀 | ||
uses: actions/checkout@v2 | ||
with: | ||
path: './editor-packages-release' | ||
ref: 'release' | ||
persist-credentials: false | ||
|
||
- name: Setup Deno 🚧 | ||
uses: denolib/setup-deno@v2 | ||
with: | ||
|
@@ -25,20 +32,19 @@ jobs: | |
run: | | ||
cd ./editor-packages | ||
deno task build | ||
mkdir ./public | ||
mv packages.zip ./public | ||
mv packages.zip ../editor-packages-release/ | ||
- name: Commit files ✅ | ||
run: | | ||
cd ./editor-packages | ||
cd ./editor-packages-release | ||
git config --local user.email "${{ github.event.pusher.email }}" | ||
git config --local user.name "${{ github.event.pusher.name }}" | ||
git add -A && git commit -m "${{ github.event.head_commit.message }}" | ||
- name: Push changes 🔼 | ||
uses: ad-m/[email protected] | ||
with: | ||
directory: './editor-packages' | ||
directory: './editor-packages-release' | ||
repository: 'bridge-core/editor-packages' | ||
branch: 'refactor' | ||
branch: 'release' | ||
github_token: ${{ secrets.EDITOR_DATA_PACKAGES }} |