Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update drmowinckels github handle #87

Merged
merged 11 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 13 additions & 17 deletions .github/workflows/trigger-website.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Airtable updates
name: Trigger website build test

on:
pull_request:
Expand All @@ -7,7 +7,7 @@ on:

jobs:
airtable:
name: Airtable updates
name: Trigger website build test
runs-on: macOS-latest
steps:
- name: Checkout repository
Expand All @@ -27,22 +27,18 @@ jobs:
ref: 'main',
inputs: {
blogs: '${{ github.run_id }}',
triggering_issue: '${{ steps.make-pr.outputs.pull-request-number }}',
triggering_rep: '${{ github.event.repository.name }}'
triggering_issue: '${{ github.event.number }}',
triggering_repo: '${{ github.event.repository.name }}'
}
})

- name: Notify about build start
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GLOBAL_GHA_PAT }}
script: |
await github.issues.createComment({
owner: 'rladies',
repo: $(basename ${{ github.event.repository.name }})',
issue_number: ${{ steps.make-pr.outputs.pull-request-number }},
body: `
Building test-site now! The build will take a few minutes,
but look at its progess in the [website repo](https://github.com/rladies/rladies.github.io/actions/workflows/build.yaml).
`
})
env:
GH_TOKEN: ${{ secrets.GLOBAL_GHA_PAT }}
run: |
issue_number=${{ github.event.number }}
owner="rladies"
repo="${{ github.event.repository.name }}"
comment_body="Building test-site now! The build will take a few minutes,
but you can track its progress in the [website repo](https://github.com/rladies/rladies.github.io/actions/workflows/build.yaml)."
gh issue comment $issue_number --repo $owner/$repo -b "$comment_body"
2 changes: 1 addition & 1 deletion blogs/drmowinckels.io.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"name": "Athanasia Monika Mowinckel",
"social_media": [{
"mastodon": "@Drmowinckels@fosstodon.org",
"github": "Athanasiamo"
"github": "drmowinckels"
}]
}
]
Expand Down
Loading