From 8e45d53830b5a6afcd265ee6b197dcdac9b53a15 Mon Sep 17 00:00:00 2001 From: yudhaaaa <141938548+yudha556@users.noreply.github.com> Date: Thu, 24 Oct 2024 00:00:31 +0700 Subject: [PATCH 1/5] Create static.yml --- .github/workflows/static.yml | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 0000000..f2c9e97 --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,43 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 From 75e1979ef153ca6f0c6ff8afa981987a713252a4 Mon Sep 17 00:00:00 2001 From: yudhaaaa <141938548+yudha556@users.noreply.github.com> Date: Thu, 24 Oct 2024 00:08:20 +0700 Subject: [PATCH 2/5] Update static.yml --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index f2c9e97..e1db501 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -37,7 +37,7 @@ jobs: uses: actions/upload-pages-artifact@v3 with: # Upload entire repository - path: '.' + path: 'gh_pages.html' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 From 4e8a4ccaa6d4783371add0c577567264733541a9 Mon Sep 17 00:00:00 2001 From: yudhaaaa <141938548+yudha556@users.noreply.github.com> Date: Thu, 24 Oct 2024 00:12:26 +0700 Subject: [PATCH 3/5] Update static.yml --- .github/workflows/static.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index e1db501..679e552 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,28 +1,20 @@ -# Simple workflow for deploying static content to GitHub Pages name: Deploy static content to Pages on: - # Runs on pushes targeting the default branch push: - branches: ["main"] - - # Allows you to run this workflow manually from the Actions tab + branches: ["main"] # Ganti dengan branch yang Anda inginkan workflow_dispatch: -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read pages: write id-token: write -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: group: "pages" cancel-in-progress: false jobs: - # Single deploy job since we're just deploying deploy: environment: name: github-pages @@ -36,8 +28,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - # Upload entire repository - path: 'gh_pages.html' + path: 'gh_pages.html' # Pastikan path ini benar - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 From 455b9d7f3a8bce97834f8c61ff3e20ee2c387b43 Mon Sep 17 00:00:00 2001 From: yudhaaaa <141938548+yudha556@users.noreply.github.com> Date: Thu, 24 Oct 2024 00:17:36 +0700 Subject: [PATCH 4/5] Delete .github/workflows directory --- .github/workflows/static.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml deleted file mode 100644 index 679e552..0000000 --- a/.github/workflows/static.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Deploy static content to Pages - -on: - push: - branches: ["main"] # Ganti dengan branch yang Anda inginkan - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: "pages" - cancel-in-progress: false - -jobs: - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Pages - uses: actions/configure-pages@v5 - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: 'gh_pages.html' # Pastikan path ini benar - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 From 11c30c306121d8e7a41e130476f04fc142709c0f Mon Sep 17 00:00:00 2001 From: yudhaaaa <141938548+yudha556@users.noreply.github.com> Date: Thu, 24 Oct 2024 00:19:55 +0700 Subject: [PATCH 5/5] Delete README.md --- README.md | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 1407d25..0000000 --- a/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# Tugas Praktikum Teknologi Web - -## Deskripsi -Repository ini berisi kumpulan tugas praktikum untuk mata kuliah Teknologi Web. Setiap tugas didokumentasikan secara terperinci untuk memudahkan dalam pengelolaan serta pengembangan lebih lanjut - -## Struktur Folder Praktikum -- **/Praktikum_1**: Pengembangan Halaman HTML dan Publikasi di Github Page -- **/Praktikum_2**: Pengembangan Halaman HTML Responsif dengan CSS -- **/Praktikum_3**: Membuat Script JavaScript Sederhana - - -# Daftar Tugas -| Pertemuan | Deskripsi Tugas | Status | -|--------|------------------------|---------------| -| 1 - 2 | [ Membuat halaman HTML sederhana dan mempublikasikannya ke halaman Github.] | ✅ Selesai | -| 3 - 4 | [Membuat halaman web responsif dengan memanfaatkan HTML dengan styling CSS.] |✅ Selesai | -| 5 - 6 | [Membuat script JavaScript sederhana untuk mengubah tampilan halaman.] | 🔄 Dalam Proses | -| 8 | [ujian tengah Semester] | ... | -| 7 - 9 | [Membuat layout responsif menggunakan Bootstrap atau Tailwind] | ... | -| 10 - 13 | [Membuat aplikasi sederhana dengan framework yang dipilih] | ... | -| 14 - 15 | [Membuat aplikasi sederhana yang menampilkan data dari JSON atau XML] | ... | -| 16 | [Presentasi Project Akhir] | ... | - - -```bash - git clone https://github.com/yudha556/Tekweb_2024_2300016050.git