-
Notifications
You must be signed in to change notification settings - Fork 73
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
8023590
commit 3907d12
Showing
1 changed file
with
4 additions
and
26 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Soft-Serve | ||
name: soft-serve | ||
|
||
on: | ||
push: | ||
|
@@ -7,28 +7,6 @@ on: | |
|
||
jobs: | ||
soft-serve: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Push to Soft-Serve | ||
uses: charmbracelet/soft-serve-action@v1 | ||
with: | ||
server: "git.charm.sh" | ||
ssh-key: "${{ secrets.CHARM_SOFT_SERVE_KEY }}" | ||
name: "wish" | ||
|
||
- name: Push vendor to Soft-Serve | ||
env: | ||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Charmbracelet[bot]" | ||
git checkout -b vendor | ||
go mod vendor | ||
git add vendor | ||
git commit -m 'vendor' | ||
git push -f soft-serve vendor | ||
uses: charmbracelet/meta/.github/workflows/soft-serve.yml@main | ||
secrets: | ||
ssh-key: "${{ secrets.CHARM_SOFT_SERVE_KEY }}" |