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

Commit e6fa732

Browse files
authored
Use proper pages URL (#50)
* try using enablePages action * use the store in config * try not making enablePages required * Revert c4f75d8 67ea450 56bf4ca * store the pagesUrl after first retrieval
1 parent 5d935fc commit e6fa732

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ steps:
8787
method: repos.getPages
8888
owner: '%payload.repository.owner.login%'
8989
repo: '%payload.repository.name%'
90+
store:
91+
pagesUrl: '{{ result.data.html_url }}'
9092
action_id: pagesUrl
9193
- type: respond
9294
issue: Getting Started with GitHub
9395
with: close-issue.md
94-
data:
95-
pagesUrl: '%actions.pagesUrl.data.html_url%'
9696

9797
# 3
9898
- title: Close an issue

responses/close-issue.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
You turned on GitHub Pages!
44

5-
Your site is now visible to the public. Check it out at {{ pagesUrl }}.
5+
Your site is now visible to the public. Check it out at {{ store.pagesUrl }}.
66

77
Now that you’ve completed the tasks in this issue, it's time to close it! Closing an issue tells other contributors that this particular conversation or task has come to an end.
88

responses/reminder-delete.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Congratulations @{{ user.username }}, you've completed this course!
66

77
## What went well
88

9-
Now, you have your slide deck deployed [here](https://{{ user.username }}.github.io/{{ repo }}) and you've gone through the GitHub Flow.
9+
Now, you have your slide deck deployed [here]({{ store.pagesUrl }}) and you've gone through the GitHub Flow.
1010

1111
Before I say good-bye, here's a recap of all the tasks you've accomplished in your repository:
1212

0 commit comments

Comments
 (0)