-
-
Notifications
You must be signed in to change notification settings - Fork 8
44 lines (34 loc) · 987 Bytes
/
update-assets.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
41
42
43
44
name: "Update Assets"
on:
workflow_dispatch:
push:
branches:
- 1.x
- 2.x
- next
jobs:
update:
name: Update assets
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node 18
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Setup CI Authentication
run: |
composer config http-basic.nova.laravel.com ${{ secrets.NOVA_USERNAME }} ${{ secrets.NOVA_PASSWORD }}
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress
- name: Installed dependencies
run: composer show -D
- name: Copy language file
run: |
rm -Rf ./lang
cp -rf ./vendor/laravel/nova/resources/lang/ ./
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update Assets