Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
tar czvf webui.tar.gz ./webui/static/

- name: Artifact webui
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v7
with:
name: webui.tar.gz
path: webui.tar.gz
Expand All @@ -51,7 +51,7 @@ jobs:
go-version: ${{ env.GO_VERSION }}

- name: Artifact webui
uses: actions/download-artifact@v2
uses: actions/download-artifact@v8
with:
name: webui.tar.gz

Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@ on:
- master
- aws-lambda-v2.11
- v*
workflow_dispatch:

jobs:
build-webui:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Build webui
run: |
make clean-webui generate-webui
tar czvf webui.tar.gz ./webui/static/
- name: Artifact webui
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v7
with:
name: webui.tar.gz
path: webui.tar.gz
Expand All @@ -39,13 +40,13 @@ jobs:
- build-webui
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: Setup Go
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version: '1.21'
- name: Artifact webui
uses: actions/download-artifact@v3
uses: actions/download-artifact@v8
with:
name: webui.tar.gz
- name: Untar webui
Expand Down Expand Up @@ -85,7 +86,7 @@ jobs:
trigger-deploy:
name: Trigger New Deployment
runs-on: ubuntu-latest
if: github.repository == 'linuxfoundation/traefik'
if: github.repository == 'linuxfoundation/traefik' && github.ref == 'refs/heads/aws-lambda-v2.11'
needs:
- publish
steps:
Expand All @@ -96,6 +97,8 @@ jobs:
event_type=container_published

curl -L \
--fail-with-body \
-sS \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
Expand Down
Loading