Separate socialImage from featuredImage so we can use a better featur… #1260
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 | |
on: | |
push: | |
branches: | |
- main | |
repository_dispatch: | |
types: [release] | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/linkerd/dev:v39 | |
options: --user root | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: On create | |
run: | | |
.devcontainer/on-create.sh | |
- name: Setup gcloud | |
env: | |
LINKERD_SITE_TOKEN: ${{ secrets.LINKERD_SITE_TOKEN }} | |
run: |- | |
echo "${LINKERD_SITE_TOKEN}" | base64 -d > .gcp.json | |
gcloud auth activate-service-account --key-file=.gcp.json | |
- name: Publish | |
run: |- | |
make publish | |
gsutil -m setmeta -r -h "Cache-Control: no-cache, no-store, must-revalidate" gs://linkerd.io/ | |
gsutil -m setmeta -r -h "Cache-Control:" gs://linkerd.io/ |