Skip to content

Bump actions/upload-artifact from 4.3.1 to 4.3.3 #112

Bump actions/upload-artifact from 4.3.1 to 4.3.3

Bump actions/upload-artifact from 4.3.1 to 4.3.3 #112

Workflow file for this run

---
name: Publish Website
on:
push:
branches:
- devel
- 'release-*'
permissions: {}
jobs:
publish:
name: Build and Publish
if: github.repository_owner == 'submariner-io'
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
with:
fetch-depth: 0
- name: Create secret key to git push
run: |
echo '=================== Create deploy key to push ==================='
set -x
mkdir $HOME/.ssh
ssh-keyscan -t rsa github.com > $HOME/.ssh/known_hosts
echo "${GIT_DEPLOY_KEY}" > $HOME/.ssh/id_rsa
chmod 400 $HOME/.ssh/id_rsa
git config --global user.email "submariner@website-ci"
git config --global user.name "Submariner Website CI"
env:
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
- name: Build the website static files for each release
run: make static-all
- name: Push the updated static files
run: ./scripts/publish