Skip to content

Commit

Permalink
feat: sync wish with git.charm.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Jan 24, 2022
1 parent 8023590 commit 3907d12
Showing 1 changed file with 4 additions and 26 deletions.
30 changes: 4 additions & 26 deletions .github/workflows/soft-serve.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Soft-Serve
name: soft-serve

on:
push:
Expand All @@ -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 }}"

0 comments on commit 3907d12

Please sign in to comment.