diff --git a/config.yml b/config.yml index 4f2bc8c..dd3a363 100644 --- a/config.yml +++ b/config.yml @@ -87,12 +87,12 @@ steps: method: repos.getPages owner: '%payload.repository.owner.login%' repo: '%payload.repository.name%' + store: + pagesUrl: '{{ result.data.html_url }}' action_id: pagesUrl - type: respond issue: Getting Started with GitHub with: 02_close-issue.md - data: - pagesUrl: '%actions.pagesUrl.data.html_url%' # 3 - title: Close an issue diff --git a/responses/02_close-issue.md b/responses/02_close-issue.md index e656b03..3e57975 100644 --- a/responses/02_close-issue.md +++ b/responses/02_close-issue.md @@ -2,7 +2,7 @@ You turned on GitHub Pages! -Your site is now visible to the public. Check it out at {{ pagesUrl }}. +Your site is now visible to the public. Check it out at {{ store.pagesUrl }}. 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. diff --git a/responses/08_reminder-delete.md b/responses/08_reminder-delete.md index 3636133..ffca493 100644 --- a/responses/08_reminder-delete.md +++ b/responses/08_reminder-delete.md @@ -6,7 +6,7 @@ Congratulations @{{ user.username }}, you've completed this course! ## What went well -Now, you have your slide deck deployed [here](https://{{ user.username }}.github.io/{{ repo }}) and you've gone through the GitHub Flow. +Now, you have your slide deck deployed [here]({{ store.pagesUrl }}) and you've gone through the GitHub Flow. Before I say good-bye, here's a recap of all the tasks you've accomplished in your repository: