1- name : Frontend testing.plone.org CI and deploy
1+ name : Frontend testing-stable .plone.org CI and deploy
22
33on :
44 workflow_dispatch :
@@ -20,10 +20,10 @@ jobs:
2020 runs-on : ubuntu-latest
2121 steps :
2222 - name : Checkout codebase
23- uses : actions/checkout@v4
23+ uses : actions/checkout@v6
2424
2525 - name : Use Node.js ${{ env.node-version }}
26- uses : actions/setup-node@v4
26+ uses : actions/setup-node@v6
2727 with :
2828 node-version : ${{ env.node-version }}
2929 cache : ' yarn'
4040 runs-on : ubuntu-latest
4141 steps :
4242 - name : Checkout codebase
43- uses : actions/checkout@v4
43+ uses : actions/checkout@v6
4444
4545 - name : Run Prettier
4646 run : npx prettier@2.0.5 --single-quote --check 'src/**/*.{js,jsx,ts,tsx,css,scss}' --config=package.json
@@ -52,10 +52,10 @@ jobs:
5252 runs-on : ubuntu-latest
5353 steps :
5454 - name : Checkout codebase
55- uses : actions/checkout@v4
55+ uses : actions/checkout@v6
5656
5757 - name : Use Node.js ${{ env.node-version }}
58- uses : actions/setup-node@v4
58+ uses : actions/setup-node@v6
5959 with :
6060 node-version : ${{ env.node-version }}
6161 cache : ' yarn'
@@ -72,10 +72,10 @@ jobs:
7272 runs-on : ubuntu-latest
7373 steps :
7474 - name : Checkout codebase
75- uses : actions/checkout@v4
75+ uses : actions/checkout@v6
7676
7777 - name : Use Node.js ${{ env.node-version }}
78- uses : actions/setup-node@v4
78+ uses : actions/setup-node@v6
7979 with :
8080 node-version : ${{ env.node-version }}
8181 cache : ' yarn'
@@ -95,11 +95,11 @@ jobs:
9595 steps :
9696
9797 - name : Checkout
98- uses : actions/checkout@v4
98+ uses : actions/checkout@v6
9999
100100 - name : Docker meta
101101 id : meta
102- uses : docker/metadata-action@v4
102+ uses : docker/metadata-action@v6
103103 with :
104104 images : |
105105 ghcr.io/plone/ploneorg-frontend
@@ -114,14 +114,14 @@ jobs:
114114 uses : docker/setup-buildx-action@v3
115115
116116 - name : Login to DockerHub
117- uses : docker/login-action@v3
117+ uses : docker/login-action@v4
118118 with :
119119 registry : ghcr.io
120120 username : ${{ github.actor }}
121121 password : ${{ secrets.GITHUB_TOKEN }}
122122
123123 - name : Build and push
124- uses : docker/build-push-action@v5
124+ uses : docker/build-push-action@v7
125125 with :
126126 platforms : linux/amd64
127127 context : frontend/
@@ -138,13 +138,14 @@ jobs:
138138 - release
139139 runs-on : ubuntu-latest
140140 environment :
141+ # Only exception: keep this to testing.plone.org, otherwise I need to recreate the environment on githubs plone.org repo.
141142 name : testing.plone.org
142- url : https://testing.plone.org
143+ url : https://testing-stable .plone.org
143144 steps :
144145 - name : Checkout
145- uses : actions/checkout@v4
146+ uses : actions/checkout@v6
146147
147- - name : Deploy to testing.plone.org
148+ - name : Deploy to testing-stable .plone.org
148149 uses : kitconcept/docker-stack-deploy@v1.4.0
149150 with :
150151 registry : " ghcr.io"
@@ -154,10 +155,10 @@ jobs:
154155 remote_port : ${{ vars.DEPLOY_PORT }}
155156 remote_user : ${{ vars.DEPLOY_USER }}
156157 remote_private_key : ${{ secrets.DEPLOY_SSH }}
157- stack_file : " devops/stacks/testing.plone.org.yml"
158- stack_name : testing-plone-org
158+ stack_file : " devops/stacks/testing-stable .plone.org.yml"
159+ stack_name : testing-stable- plone-org
159160 env_file : |
160- STACK_NAME=testing-plone-org
161+ STACK_NAME=testing-stable- plone-org
161162 DB_HOST=${{ vars.DB_HOST }}
162163 DB_NAME=${{ vars.DB_NAME }}
163164 DB_USER=${{ vars.DB_USER }}
0 commit comments