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

Commit 29c8388

Browse files
committed
fix pages url
1 parent 15dec50 commit 29c8388

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,9 @@ template:
66
repo: intro-to-html-template
77
description: 'A robot powered training repository :robot:'
88
before:
9-
- type: octokit
10-
method: repos.getPages
11-
owner: '%payload.repository.owner.login%'
12-
repo: '%payload.repository.name%'
13-
action_id: pagesUrl
149
- type: createIssue
1510
title: Welcome
1611
body: 01-welcome.md
17-
data:
18-
pagesUrl: '%actions.pagesUrl.data.html_url%'
1912
- type: updateBranchProtection
2013

2114
steps:
@@ -24,8 +17,15 @@ steps:
2417
event: deployment
2518
link: '{{ repoUrl }}/issues/1'
2619
actions:
20+
- type: octokit
21+
method: repos.getPages
22+
owner: '%payload.repository.owner.login%'
23+
repo: '%payload.repository.name%'
24+
action_id: pagesUrl
2725
- type: respond
2826
with: 00-openapr.md
27+
data:
28+
pagesUrl: '%actions.pagesUrl.data.html_url%'
2929
issue: 1
3030

3131
- title: Open a pull request

0 commit comments

Comments
 (0)