Add release date for 0.15.3 #762
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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@b4ffde65f46336ab88eb53be808477a3936bae11 | |
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 |