diff --git a/.github/workflows/publish_pages.yml b/.github/workflows/publish_pages.yml index 677fbf6..77b7255 100644 --- a/.github/workflows/publish_pages.yml +++ b/.github/workflows/publish_pages.yml @@ -1,4 +1,4 @@ -name: Deploy to GitHub Pages with Dynamic CNAME +name: Deploy to GitHub Pages with Static CNAME on: push: @@ -29,15 +29,6 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v5 - # Dal bazında CNAME dosyasını oluştur - - name: Create CNAME file - run: | - if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then - echo "guvendekal.org" > CNAME - elif [[ "${{ github.ref }}" == "refs/heads/develop" ]]; then - echo "dev.guvendekal.org" > CNAME - fi - - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/.gitignore b/.gitignore index 0294f48..e0f9116 100644 --- a/.gitignore +++ b/.gitignore @@ -406,3 +406,5 @@ extensions.json terminals.json package.json package-lock.json + +CNAME \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..a04ec2c --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +dev.guvendekal.org \ No newline at end of file