Skip to content

Commit 47b8779

Browse files
authored
Update Workflow Action
1 parent a20fa79 commit 47b8779

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build-spec.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
build-spec:
1515

1616
name: Build SSP Specification
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-latest
1818
steps:
1919

2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222

2323
- name: List variables
2424
run: |
@@ -88,7 +88,7 @@ jobs:
8888
cp docs/images/* build/images
8989
9090
- name: Create ZIP archive
91-
uses: actions/upload-artifact@v3
91+
uses: actions/upload-artifact@v4
9292
with:
9393
name: SSP-Specification
9494
path: build/*
@@ -101,8 +101,8 @@ jobs:
101101
arguments: --only-4xx --url-ignore '/http:\/\/ssp-standard.org\/SSP1\/.*/,/https:\/\/opensource.org\/.*/'
102102

103103
- name: Push HTML to ssp-standard.org
104-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
105-
uses: cpina/github-action-push-to-another-repository@v1.5
104+
if: ${{ github.repository == 'modelica/ssp-standard' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
105+
uses: cpina/github-action-push-to-another-repository@v1.7.2
106106
env:
107107
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
108108
with:

0 commit comments

Comments
 (0)