forked from abap2UI5/samples
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 835 Bytes
/
Copy pathauto_cloud.yaml
File metadata and controls
38 lines (31 loc) · 835 Bytes
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
name: auto_cloud
on:
push:
branches: [standard]
jobs:
auto_cloud:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm ci
- run: rm -rf src/00
- name: Commit Changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add src
git commit -m "Cloud changes"
- name: Switch to Branch cloud
run: git checkout -b cloud
- name: Push Changes
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: cloud
force: true