Skip to content

Commit

Permalink
LYS-24 add gh-pages domain configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lysz210 committed Jan 21, 2025
1 parent 01e27d1 commit 9707787
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion pulumi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,18 @@ const ghPagesPointerRecord = new Record("ghPagesPointerRecord", {
ttl: 300
})

const ghPagesCnameRecord = new Record("ghPagesCnameRecord", {
zoneId: lysz210Zone.then(zone => zone.zoneId),
type: RecordType.CNAME,
name: 'photos.gh.lysz210.name',
records: [
'lysz210.github.io',
],
ttl: 300
})

// Export the name of the bucket
export const flickrRepoId = flickrRepo.id;
export const ghPagesVerification = ghPagesVerificationRecord.name
export const ghPagesPointer = ghPagesPointerRecord.name
export const ghPagesPointer = ghPagesPointerRecord.name
export const ghPagesCname = ghPagesCnameRecord.name

0 comments on commit 9707787

Please sign in to comment.