Skip to content

Merge pull request #44 from opensourcepledge/vladh/improve-onboarding… #50

Merge pull request #44 from opensourcepledge/vladh/improve-onboarding…

Merge pull request #44 from opensourcepledge/vladh/improve-onboarding… #50

Workflow file for this run

name: Build, update members and deploy
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build website files
uses: withastro/action@v2
- name: Update new member files
run: bash ./bin/update-new-members ${{github.event.before}}
- name: Commit member changes, if any
run: bash ./bin/commit-member-changes
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4