-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (35 loc) · 1.09 KB
/
update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: 🎇 Update Repository
on:
workflow_dispatch:
jobs:
update:
name: UpdateRepository
# runs-on: arc-runner-set
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: dream-num/helm-chart-private
path: tmp
token: ${{ secrets.GH_TOKEN }}
- name: UpdateRepository
uses: technote-space/create-pr-action@v2
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
EXECUTE_COMMANDS: |
ls tmp
rm -rf docker-compose
rm -rf charts/*
mv tmp/docker-compose .
mv tmp/charts/collaboration-demo charts/
mv tmp/charts/collaboration-server charts/
mv tmp/charts/univer-stack charts/
mv tmp/charts/universer charts/
mv tmp/charts/worker charts/
rm -rf tmp
COMMIT_MESSAGE: 'chore: update repository'
COMMIT_NAME: 'GitHub Actions'
PR_BRANCH_PREFIX: 'create-pr-action/'
PR_BRANCH_NAME: 'update-repository-${PR_ID}'
PR_TITLE: 'chore: update repository'