Skip to content

Commit

Permalink
Improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianoKF committed Jun 28, 2024
1 parent 77be4cd commit 97d8523
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
# Using Workload Identity Federation in GitHub Actions
[![Cover Slide](cover-slide.png)](https://workload-identity-federation-demo-website.storage.googleapis.com/index.html))

[![GitHub branch check runs](https://img.shields.io/github/check-runs/AdrianoKF/workload-identity-federation-demo/main?label=CI)](https://github.com/AdrianoKF/workload-identity-federation-demo/actions) [![Current slide deck](https://img.shields.io/badge/slides-current-blue)](https://workload-identity-federation-demo-website.storage.googleapis.com/index.html)

You can find the latest version of the slide deck here:

https://workload-identity-federation-demo-website.storage.googleapis.com/index.html
**https://workload-identity-federation-demo-website.storage.googleapis.com/index.html**

## Deployment

This repository doubles as the demonstration of the concepts in the talk.

It contains a [GitHub Actions workflow `.github/workflows/deploy.yml`](.github/workflows/deploy.yml) that builds the slide deck SPA using <img src="https://sli.dev/logo.svg" width="24" style="vertical-align: middle"> [Slidev](https://sli.dev/) (go check it out!) and deploys it to a public Google Cloud Storage bucket.

Authentication between the GitHub Actions runner and Google Cloud is set up using
[Direct Workload Identity Federation](https://github.com/google-github-actions/auth?tab=readme-ov-file#direct-wif).

Yes, deploying the generated page to GitHub Pages would have been simpler, but then I would have to cook up another artificial example for the demo 😉.

## Running Locally
## Working on the slides

To start the slide show in dev mode:

- `npm install`
- `npm run dev`
- visit http://localhost:3030

Edit and save [slides.md](./slides.md) to see the changes.
Edit and save [`slides.md`](./slides.md) to see the changes.
Binary file added cover-slide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 97d8523

Please sign in to comment.