Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 1b49178

Browse files
committed
fix url for pages
1 parent 55215f9 commit 1b49178

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,18 @@ steps:
7878
# check if the project card is an issue (if not, it's one of the automated cards)
7979
- type: gate
8080
left: '%payload.project_card.content_url%'
81+
- type: octokit
82+
method: repos.getPages
83+
owner: '%payload.repository.owner.login%'
84+
repo: '%payload.repository.name%'
85+
action_id: pagesUrl
8186
- type: createIssue
8287
title: Adding a feature
8388
body: 03.1_update-readme.md
8489
action_id: addFeature
8590
data:
8691
username: '%user.username%'
92+
pagesUrl: '%actions.pagesUrl.data.html_url%'
8793
- type: respond
8894
with: 03.2_automation.md
8995
issue: Organizing a release

responses/03.1_update-readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ Using the GitHub flow, make your update, and open a pull request with `release-v
2929

3030
### :keyboard: Activity: Update the README.md
3131

32-
1. Create a new branch and change the URL in the `README.md` to point to your own GitHub Pages site, #TODO FIX URL `https://{{ username }}.github.io/release-based-workflow`
33-
1. Open a pull request with `release-v1.0` as the `base` branch, and your new branch as `compare`.
34-
1. Fill in the pull request template to describe your changes.
35-
1. Add the pull request to the project board, using the **Projects** section on the right side of the pull request.
32+
1. Create a new branch and change the URL in the `README.md` to point to your own GitHub Pages site, `{{ pagesUrl }}`
33+
2. Open a pull request with `release-v1.0` as the `base` branch, and your new branch as `compare`.
34+
3. Fill in the pull request template to describe your changes.
35+
4. Add the pull request to the project board, using the **Projects** section on the right side of the pull request.
3636

3737
<hr>
3838
<h3 align="center">I'll respond in your pull request with the next step.</h3>

0 commit comments

Comments
 (0)