This commit is contained in:
parent
5b11664a3f
commit
4b0f214568
9
.github/workflows/default.yaml
vendored
9
.github/workflows/default.yaml
vendored
@ -19,9 +19,6 @@ jobs:
|
|||||||
- name: 🔄 Checkout code
|
- name: 🔄 Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: CHeck tar varsion
|
|
||||||
run: tar --version
|
|
||||||
|
|
||||||
- name: 🔢 Calculate cache IDs
|
- name: 🔢 Calculate cache IDs
|
||||||
run: |
|
run: |
|
||||||
# Calculate cache IDs for Git LFS and PNPM
|
# Calculate cache IDs for Git LFS and PNPM
|
||||||
@ -50,6 +47,11 @@ jobs:
|
|||||||
path: node_modules/.astro
|
path: node_modules/.astro
|
||||||
key: ${{ runner.os }}-astro-v1
|
key: ${{ runner.os }}-astro-v1
|
||||||
|
|
||||||
|
- name: print modifify time of the first file under node_modules/.astro without using find
|
||||||
|
run: |
|
||||||
|
ls -lt node_modules/.astro/assets | grep "^-" | head -n 1 | awk '{print $6, $7, $8}'
|
||||||
|
|
||||||
|
|
||||||
- name: 🔄 Pull Git LFS files
|
- name: 🔄 Pull Git LFS files
|
||||||
run: git lfs pull
|
run: git lfs pull
|
||||||
|
|
||||||
@ -66,6 +68,7 @@ jobs:
|
|||||||
user: ${{ secrets.FTP_USERNAME }}
|
user: ${{ secrets.FTP_USERNAME }}
|
||||||
pass: ${{ secrets.FTP_PASSWORD }}
|
pass: ${{ secrets.FTP_PASSWORD }}
|
||||||
onlyNewer: true
|
onlyNewer: true
|
||||||
|
restoreMTime: false
|
||||||
parallel: '4'
|
parallel: '4'
|
||||||
settings: 'sftp:auto-confirm=yes'
|
settings: 'sftp:auto-confirm=yes'
|
||||||
localDir: 'dist'
|
localDir: 'dist'
|
||||||
|
Loading…
Reference in New Issue
Block a user