From c9e1255e7345754b2b62a0b98872208d16d8f5b0 Mon Sep 17 00:00:00 2001 From: Faridalim <39637832+Faridalim@users.noreply.github.com> Date: Sun, 15 Aug 2021 08:55:36 +0700 Subject: [PATCH 1/6] Update index.html --- index.html | 137 ++--------------------------------------------------- 1 file changed, 5 insertions(+), 132 deletions(-) diff --git a/index.html b/index.html index 3e1aeee42..3d70a74ac 100644 --- a/index.html +++ b/index.html @@ -1,133 +1,6 @@ - - - - - - - #000000 - - - - - -

#000000

- - - - \ No newline at end of file + + +

Ini adalah static domain

+ + From eaebb786f79d7b27cf6576041f2df68035800e8d Mon Sep 17 00:00:00 2001 From: Farid Alim Date: Sun, 15 Aug 2021 10:33:46 +0700 Subject: [PATCH 2/6] bbb --- aaa/index.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 aaa/index.html diff --git a/aaa/index.html b/aaa/index.html new file mode 100644 index 000000000..d205b5fdc --- /dev/null +++ b/aaa/index.html @@ -0,0 +1,6 @@ + + + +

Ini adalah tes domain

+ + From 3a6739e17500b03e220b887a913e1846fa36a839 Mon Sep 17 00:00:00 2001 From: Farid Alim Date: Sun, 15 Aug 2021 10:36:19 +0700 Subject: [PATCH 3/6] ccc --- .do/app.yaml | 8 -------- .do/deploy.template.yaml | 8 -------- 2 files changed, 16 deletions(-) delete mode 100644 .do/app.yaml delete mode 100644 .do/deploy.template.yaml diff --git a/.do/app.yaml b/.do/app.yaml deleted file mode 100644 index b1b1eb423..000000000 --- a/.do/app.yaml +++ /dev/null @@ -1,8 +0,0 @@ -name: sample-html -static_sites: -- environment_slug: html - github: - branch: main - deploy_on_push: true - repo: digitalocean/sample-html - name: sample-html diff --git a/.do/deploy.template.yaml b/.do/deploy.template.yaml deleted file mode 100644 index 57d75e2e1..000000000 --- a/.do/deploy.template.yaml +++ /dev/null @@ -1,8 +0,0 @@ -spec: - name: sample-html - static_sites: - - environment_slug: html - git: - branch: main - repo_clone_url: https://github.com/digitalocean/sample-html.git - name: sample-html From 4bc2d99982a183dc1030d14d5d2d121a4407b5d5 Mon Sep 17 00:00:00 2001 From: Farid Alim Date: Sun, 15 Aug 2021 10:39:00 +0700 Subject: [PATCH 4/6] ddd --- .do/app.yaml | 8 ++++++++ .do/deploy.template.yaml | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 .do/app.yaml create mode 100644 .do/deploy.template.yaml diff --git a/.do/app.yaml b/.do/app.yaml new file mode 100644 index 000000000..b1b1eb423 --- /dev/null +++ b/.do/app.yaml @@ -0,0 +1,8 @@ +name: sample-html +static_sites: +- environment_slug: html + github: + branch: main + deploy_on_push: true + repo: digitalocean/sample-html + name: sample-html diff --git a/.do/deploy.template.yaml b/.do/deploy.template.yaml new file mode 100644 index 000000000..57d75e2e1 --- /dev/null +++ b/.do/deploy.template.yaml @@ -0,0 +1,8 @@ +spec: + name: sample-html + static_sites: + - environment_slug: html + git: + branch: main + repo_clone_url: https://github.com/digitalocean/sample-html.git + name: sample-html From 0b4958472eb979a1b41984ec1c5b78a215a2a461 Mon Sep 17 00:00:00 2001 From: Farid Alim Date: Sun, 15 Aug 2021 10:44:19 +0700 Subject: [PATCH 5/6] dddd --- README.md | 56 +------------------------------------------------------ 1 file changed, 1 insertion(+), 55 deletions(-) diff --git a/README.md b/README.md index 84a333dc9..2b67043bc 100644 --- a/README.md +++ b/README.md @@ -1,55 +1 @@ -# Getting Started - -These steps will get this sample HTML application running for you using DigitalOcean App Platform. - -**Note: Following these steps may result in charges for the use of DigitalOcean services** - -## Requirements - -* You need a DigitalOcean account. If you don't already have one, you can sign up at https://cloud.digitalocean.com/registrations/new - -## Deploying the App - -Click this button to deploy the app to the DigitalOcean App Platform. If you are not logged in, you will be prompted to log in with your DigitalOcean account. - -[![Deploy to DigitalOcean](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/digitalocean/sample-html/tree/main) - -Using this button disable the "Auto deploy changes on push" feature as you are using this repo directly. If you wish to try that feature, you will need to make your own copy of this repository. - -To make a copy, click the Fork button above and follow the on-screen instructions. In this case, you'll be forking this repo as a starting point for your own app (see [GitHub documentation](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) to learn more about forking repos. - -After forking the repo, you should now be viewing this README in your own github org (e.g. `https://github.com//sample-html`). To deploy the new repo, visit https://cloud.digitalocean.com/apps and click "Create App" or "Launch Your App". Then, select the repository you created and be sure to select the `main` branch. - -After clicking the "Deploy to DigitalOcean" button or completing the instructions above to fork the repo, follow these steps: - -1. Select which region you wish to deploy your app to and click Next. The closest region to you should be selected by default. All App Platform apps are routed through a global CDN so this will not affect your app performance, unless it needs to talk to external services. -1. On the following screen, leave all the fields as they are and click Next. -1. Confirm your Plan settings and how many containers you want to launch and click **Launch Basic/Pro App**. -1. You should see a "Building..." progress indicator. And you can click "Deployments"→"Details" to see more details of the build. -1. It can take a few minutes for the build to finish, but you can follow the progress by clicking the "Details" link in the top banner. -1. Once the build completes successfully, click the "Live App" link in the header and you should see your running application in a new tab, displaying the home page. - -## Making Changes to Your App - -If you followed the steps above to fork the repo and used your own copy when deploying the app, you can enjoy automatic deploys whenever changes are made to the repo. During these automatic deployments, your application will never pause or stop serving request because App Platform offers zero-downtime deployments. - -Here's an example code change you can make for this app: - -1. Edit code within the repository -1. Commit the change to the `main` branch. Normally it's a better practice to create a new branch for your change and then merge that branch to `main` after review, but for this demo you can commit to the `main` branch directly. -1. Visit https://cloud.digitalocean.com/apps and navigate to your sample app. -1. You should see a "Building..." progress indicator, just like when you first created the app. -1. Once the build completes successfully, click the "Live App" link in the header and you should see your updated application running. You may need to force refresh the page in your browser (e.g. using Shift+Reload). - -## Learn More - -You can learn more about the App Platform and how to manage and update your application at https://www.digitalocean.com/docs/app-platform/. - -## Deleting the App - -When you no longer need this sample application running live, you can delete it by following these steps: -1. Visit the Apps control panel at https://cloud.digitalocean.com/apps -1. Navigate to the sample app -1. Choose "Settings"->"Destroy" - -**Note: If you don't delete your app, charges for the use of DigitalOcean services will continue to accrue.** \ No newline at end of file +Ini adalah static page From 9688fd2dfbb07ccc74d9900a0e001e67f9caefe3 Mon Sep 17 00:00:00 2001 From: Farid Alim Date: Sun, 15 Aug 2021 11:01:15 +0700 Subject: [PATCH 6/6] f --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 3d70a74ac..0025c6d48 100644 --- a/index.html +++ b/index.html @@ -2,5 +2,6 @@

Ini adalah static domain

+
Menggunakan index file