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 9707787 commit ca9d588
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions pulumi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@ const ghPagesPointerRecord = new Record("ghPagesPointerRecord", {
zoneId: lysz210Zone.then(zone => zone.zoneId),
type: RecordType.A,
name: 'photos.gh.lysz210.name',
records: [
'185.199.108.153',
'185.199.109.153',
'185.199.110.153',
'185.199.111.153',
],
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',
],
Expand All @@ -44,5 +31,4 @@ const ghPagesCnameRecord = new Record("ghPagesCnameRecord", {
// Export the name of the bucket
export const flickrRepoId = flickrRepo.id;
export const ghPagesVerification = ghPagesVerificationRecord.name
export const ghPagesPointer = ghPagesPointerRecord.name
export const ghPagesCname = ghPagesCnameRecord.name
export const ghPagesPointer = ghPagesPointerRecord.name

0 comments on commit ca9d588

Please sign in to comment.